package cn.ivicar.sim.domain;

/**
 * Sim卡查询条件
 * Created by lixiaozhuo on 17/5/21.
 */
public class SimInfoQuery {
    // 卡号
    private String iccid;

    // 用户码
    private String userCode;

    // 运营商（1: 移动 2:电信 3:联通）
    private Integer operator;

    // 卡状态（0:测试期 1:沉默期  2:已激活  3:停机 4:作废）
    private Integer cardStatus;

    // 开卡时间-查询开始时间（yyyy-MM-dd HH:mm:ss）
    private String startTimeFrom;

    // 开卡时间-查询结束时间（yyyy-MM-dd HH:mm:ss）
    private String startTimeTo;

    // 结束时间-查询开始时间（yyyy-MM-dd HH:mm:ss）
    private String endTimeFrom;

    // 结束时间-查询结束时间（yyyy-MM-dd HH:mm:ss）
    private String endTimeTo;

    // 机构ID
    private Integer orgId;

    //页码（从1开始）
    private Integer page;

    // 页容（最大50）
    private Integer pageSize;

    public String getIccid() {
        return iccid;
    }

    public void setIccid(String iccid) {
        this.iccid = iccid;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public Integer getOperator() {
        return operator;
    }

    public void setOperator(Integer operator) {
        this.operator = operator;
    }

    public Integer getCardStatus() {
        return cardStatus;
    }

    public void setCardStatus(Integer cardStatus) {
        this.cardStatus = cardStatus;
    }

    public String getStartTimeFrom() {
        return startTimeFrom;
    }

    public void setStartTimeFrom(String startTimeFrom) {
        this.startTimeFrom = startTimeFrom;
    }

    public String getStartTimeTo() {
        return startTimeTo;
    }

    public void setStartTimeTo(String startTimeTo) {
        this.startTimeTo = startTimeTo;
    }

    public String getEndTimeFrom() {
        return endTimeFrom;
    }

    public void setEndTimeFrom(String endTimeFrom) {
        this.endTimeFrom = endTimeFrom;
    }

    public String getEndTimeTo() {
        return endTimeTo;
    }

    public void setEndTimeTo(String endTimeTo) {
        this.endTimeTo = endTimeTo;
    }

    public Integer getOrgId() {
        return orgId;
    }

    public void setOrgId(Integer orgId) {
        this.orgId = orgId;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    @Override
    public String toString() {
        return "SimInfoQuery{" +
                "iccid='" + iccid + '\'' +
                ", userCode='" + userCode + '\'' +
                ", operator=" + operator +
                ", cardStatus=" + cardStatus +
                ", startTimeFrom='" + startTimeFrom + '\'' +
                ", startTimeTo='" + startTimeTo + '\'' +
                ", endTimeFrom='" + endTimeFrom + '\'' +
                ", endTimeTo='" + endTimeTo + '\'' +
                ", orgId=" + orgId +
                ", page=" + page +
                ", pageSize=" + pageSize +
                '}';
    }
}
